//
//  WZDetailTask.m
//  WZEfengAndEtong
//
//  Created by wanzhao on 16/6/22.
//  Copyright © 2016年 wanzhao. All rights reserved.
//

#import "WZDetailTask.h"

@implementation WZDetailTask

+ (NSDictionary *)replacedKeyFromPropertyName {
    
    return @{@"taskID" : @"id"};
}

- (NSString *)planExecBeginDate {
    
    return [NSDate dateStrFromCstampTimeStr:_planExecBeginDate withDateFormatter:@"yyy-MM-dd HH:mm"];
}

- (NSString *)planExecEndDate {
    
    return [NSDate dateStrFromCstampTimeStr:_planExecEndDate withDateFormatter:@"yyyy-MM-dd HH:mm"];
}


//- (NSString *)statusName {
//    
//    NSMutableDictionary *atts = [NSMutableDictionary dictionary];
//    atts[NSForegroundColorAttributeName] = WZRGBColor(250, 186, 65);
//    NSAttributedString *attStr = [[NSAttributedString alloc] initWithString:_statusName attributes:atts];
//    return attStr;
//}

@end
